package com.yingsheng.bi.hks.dto.user;

import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@EqualsAndHashCode(callSuper = true)
@Data
public class BaseInfoModReq extends HksTransReq {

    @ApiModelProperty(value = "昵称", required = true)
    @NotBlank
    private String nickname;

    @ApiModelProperty(value = "头像", required = true)
    @NotBlank
    private String avatar;

    @ApiModelProperty(value = "推荐人ID")
    private Integer recommendationId;
}
